package zjw.dy.datasource.services.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import zjw.dy.datasource.domain.DbInfo;
import zjw.dy.datasource.mapper.DBInfoMapper;
import zjw.dy.datasource.services.DBService;

/**
 * Created by YHYR on 2017-12-25
 */

@Service
public class DBServiceImpl extends ServiceImpl<DBInfoMapper, DbInfo> implements DBService {

    @Override
    public DbInfo getDBInfoByprimayrId(int primayrId) {
        return super.getBaseMapper().selectById(primayrId);
    }
}
